// Include files.
#include "AsyncStatusStartState.hpp"

/**
 *  Constructor for AsyncStatusStartState.
 */
AsyncStatusStartState::AsyncStatusStartState() :
	m_asyncStatus(NULL)
{
}

/**
 *  Sets the AsyncStatus to be passed on to the corresponding AsyncStatusFinishState.
 *   
 *  @param asyncStatus The AsyncStatus to be passed on to the corresponding AsyncStatusFinishState.
 */
void AsyncStatusStartState::SetAsyncStatus(AsyncStatus &asyncStatus)
{
	m_asyncStatus = &asyncStatus;
}

AsyncStatus &AsyncStatusStartState::GetAsyncStatus()
{
	return *m_asyncStatus;
}
